﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Ylh.IDAL
{
  public  interface ICustMetting
    {

        /// <summary>
        /// 增加一条数据
        /// </summary>
      int InsertMettingInfo(string ConStr, Ylh.Model.TbCustMetting model);
       
        /// <summary>
        /// 更新一条数据
        /// </summary>
      bool UpdateMettingInfo(string ConStr, Ylh.Model.TbCustMetting model);
        

        /// <summary>
        /// 删除一条数据
        /// </summary>
       bool Delete(string ConStr, int CustMettingID);
      


        /// <summary>
        /// 得到一个对象实体
        /// </summary>
       Ylh.Model.TbCustMetting GetModel(string ConStr, int CustMettingID);



       DataTable GetMettingInfo(string ConStr, string StaffID, string CustID);

       bool GetCountmetting(string ConStr, string StaffID, string CustID);
    }
}
